/**
 * 
 */
package com.munoor.dalai.server.model.wrappers;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import com.munoor.dalai.server.model.ListingView;

/**
 * @author Osho Ilamah
 * @since version 1.0 (27 March 2011)
 */
@XmlRootElement(name = "listing")
public class WrappedListingView extends WrappedEntity {
	private ListingView entity = null;

	public WrappedListingView() {
		entity = new ListingView();
	}

	public WrappedListingView(ListingView entity) {
		this.entity = entity;
	}

	@XmlElement
	public String getTitle() {
		return entity.getTitle();
	}

	@XmlElement
	public long getListingId() {
		return entity.getListingId();
	}

	@XmlElement
	public String getCompany() {
		return entity.getCompany();
	}

	@XmlElement
	public int getAgeMax() {
		return entity.getAgeMax();
	}

	@XmlElement
	public int getAgeMin() {
		return entity.getAgeMin();
	}

	@XmlElement
	public long getExpiry() {
		return entity.getExpiry();
	}

	@XmlElement
	public String getLongDesc() {
		return entity.getLongDesc();
	}

	@XmlElement
	public long getReleased() {
		return entity.getReleased();
	}

	@XmlElement
	public int getSalaryMax() {
		return entity.getSalaryMax();
	}

	@XmlElement
	public int getSalaryMin() {
		return entity.getSalaryMin();
	}

/*	@XmlElement
	public String getShortDesc() {
		return entity.getShortDesc();
	}*/

	@XmlElement
	public int getViews() {
		return entity.getViews();
	}

	@XmlElement
	public String getCategory() {
		return entity.getCategory();
	}

	@XmlElement
	public String getLevel() {
		return entity.getLevel();
	}

	@XmlElement
	public String getLocation() {
		return entity.getLocation();
	}

/*	@XmlElement
	public String getSource() {
		return entity.getSource();
	}*/

}
